<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/include/head.jsp"%>
<div id="cc" class="easyui-layout" style="width:100%;height:100%;">   
	<div data-options="region:'center',title:'客户-${vo.cusName}信息'" style="padding:5px;background:#eee;">
		<form id="editForm"   method="post" enctype="multipart/form-data" >
			<input name="id" type="hidden" value="${vo.id}">
			<table cellpadding="0" cellspacing="1" class="formtable">
				<tr>
				<td align="right"><label class="Validform_label">客户名称:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="cusName" name="cusName"
				 data-options="required:true,readonly:true" value="${vo.cusName}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">客户区域:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="cusArea" name="cusArea"
				 data-options="required:true,readonly:true" value="${vo.cusArea}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">客户地址:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="cusAddr" name="cusAddr"
				 data-options="required:true,readonly:true" value="${vo.cusAddr}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">客户类型:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="cusType" name="cusType"
				 data-options="required:true,readonly:true" value="${vo.cusType}" />
				</td>
				</tr>
			</table>
		</form>
	</div>
	<div data-options="region:'south'" style="height:35px;text-align: center;padding-top: 5px">
	 	<a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit'" onclick="edit()" >修改</a>  
	 	<a id="btncancel" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="closeDialog()">关闭</a>  
	 </div>
</div>   
<script type="text/javascript">
var dialog = frameElement.dialog;
$(function() {
	 
});

function edit(){
	document.location.href='editForm.do?id=${vo.id}';  
}
function closeDialog()
{
	dialog.dialog("close");
}

</script>
<%@include file="/include/foot.jsp"%>